package com.xzm.mybatis.dao;

import com.xzm.mybatis.bean.Employee;

import java.util.List;

/**
 * @author 3052
 * @create 2020-08-13 20:29
 */
public interface EmployeeMapperPlus {

    public Employee getEmpById(Integer id);

    public Employee getEmpAndDept(Integer id);

    public Employee getEmpByIdStep(Integer id);

    //根据部门id查出所有的员工
    public List<Employee> getEmpsByDeptId(Integer deptId);
}
